package com.magupe.netty.im.common.protocol.response;

import com.magupe.netty.im.common.protocol.Command;
import com.magupe.netty.im.common.protocol.Packet;

/**
 * 用户给群组发送消息，该类以表明群组接受消息成功
 * 
 * @author m1873
 * @since 2020-06-06
 */
public class GroupMessageResponsePacket extends Packet{

	private boolean success;

    private String reason;
    
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public Byte getCommand() {
		return Command.GROUP_MESSAGE_RESPONSE;
	}
}
